package com.example.hand_write_ipc;

import android.os.Binder;
import android.os.IInterface;
import android.os.RemoteException;

import com.example.ipc.Book;

public interface IBookListener extends IInterface {
    String DESCRIPTOR = "com.example.ipc.IBookListener";

    int TRANSACTION_NEW_BOOK_ARRIVAL = Binder.FIRST_CALL_TRANSACTION;

    void onNewBookArrival(Book book) throws RemoteException;
}
